package cn.iocoder.yudao.module.vote.controller.admin.voterecorddetail.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 投票记录详情 Excel 导出 Request VO", description = "参数和 VoteRecordDetailPageReqVO 是一致的")
@Data
public class VoteRecordDetailExportReqVO {

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "投票id")
    @NotNull(message="请选择投票规则")
    private Integer voteId;

    @ApiModelProperty(value = "投票名称")
    private String voteName;

    @ApiModelProperty(value = "被投人")
    private String userName;

    @ApiModelProperty(value = "优秀")
    private Integer excellent;

    @ApiModelProperty(value = "合格")
    private Integer qualified;

    @ApiModelProperty(value = "基本合格")
    private Integer baseQualified;

    @ApiModelProperty(value = "不合格")
    private Integer unqualified;

    @ApiModelProperty(value = "弃权")
    private Integer waiver;

    @ApiModelProperty(value = "用户id")
    private Integer userResultId;

    @ApiModelProperty(value = "记录id")
    private Integer recordId;

    @ApiModelProperty(value = "投票类型")
    private Integer voteType;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;

}
